CRPEJob::OutputToWindow

Use OutputToWindow to set the output of the print job to the preview window which will have the specified attributes. This method does not print the report to the window, but specifies that when the report is printed, it will appear in a preview window. To actually print the report, use CRPEJob::StartJob.

Syntax
OutputToWindow (title CHAR (*), left SMALLINT, top SMALLINT, width 
SMALLINT, height SMALLINT, style INTEGER, parentWindow ixWindow) 
RETURNING BOOLEAN
Parameters

title

Specifies the title that you want to appear in the title bar.

left

Specifies the x coordinate of the upper left hand corner of the preview window, in device coordinates.

top

Specifies the y coordinate of the upper left hand corner of the preview window, in device coordinates.

width

Specifies the width of the preview window, in device coordinates.

height

Specifies the height of the preview window, in device coordinates.

style

Specifies the style of the window being created. Style setting can be combined using the bitwise Or operator ( | ). Refer to the CWnd class in the Microsoft Foundation Class Library reference for possible window styles.

parentWindow

Specifies a pointer to the CWnd object for the window that is the parent of the preview window. Specify NULL if the preview window will not have a parent window.

Returns
Related Topics

PEOutputToWindow



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com